from typing import Union

from student import student

if __name__ == '__main__':
    stu1: student = student("黑大帅", 18, [3], "131123123123", 10000)
    stu2: student = student("潇洒哥", 19, [1, 4], "123112312333", 20000)
    stu3: student = student("黑大帅", 20, [2, 5], "121313413131", 30000)

    stu1.say_hello()
    stu1.call_phone()
    phone = stu1.get_phone("1111111 ")

    # 联合注释
    list[Union[str,int]] = [1.2,"it","hhh"]

    print(phone)
    print(stu1)
    print(stu1 < stu2)
    print(stu1 == stu3)
